// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Author: Markus Gutschke

#ifndef PROXYLOOP_H__
#define PROXYLOOP_H__

struct Printer;

struct Proxy {
  struct Printer *printers;
  int            numPrinters;
};

struct Proxy *newProxy(struct Printer *printers, int numPrinters);
void initProxy(struct Proxy *proxy, struct Printer *printers, int numPrinters);
void destroyProxy(struct Proxy *proxy);
void deleteProxy(struct Proxy *proxy);
void proxyLoop(struct Proxy *proxy);

#endif  // PROXYLOOP_H__
